
.PHONY:all
all:tcpServer tcpClient 

FLAGS= -std=c++11 -g

tcpServer:tcpServer.cc
	g++ -o $@ $^ $(FLAGS) -lpthread
tcpClient:tcpClient.cc
	g++ -o $@ $^ $(FLAGS) 

.PHONY:clean
clean:
	rm -rf *.o tcpClient tcpServer
